home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Ver Disp 6.xpl < prev    next >
Text File  |  2003-11-19  |  2KB  |  68 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="Information\CPU Information"
  5. "NAME"="2nd CPU Info"
  6. "OSVERSION"="0101011"
  7. "VERSION"="1.03"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="CPU Name"
  10. "TEXT 2"="CPU Identifier"
  11. "TEXT 3"="Vendor ID"
  12. "TEXT 4"="Approx. MHz"
  13. "TEXT 5"="FPU Identifier"
  14. "DESCRIPTION 1"="This plug-in displays some information about your second CPU.  Ignore if you only have one CPU."
  15. "DESCRIPTION 2"="You can't change anything!!!"
  16. "AUTHOR"="Xteq Systems (CptSiskoX)"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20. "COMMENT 2"="This plug-in displays information about your 2nd CPU."
  21.  
  22.  
  23. sP="HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\1\"
  24. sV1="ProcessorNameString"
  25. sV2="Identifier"
  26. sV3="VendorIdentifier"
  27. sV4="~MHz"
  28.  
  29. sP2="HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\FloatingPointProcessor\1\"
  30. sV5="Identifier"
  31.  
  32. Sub Plugin_Initialize 
  33.  if GetWinVer=2 or GetWinVer=4 or GetWinVer=6 then
  34.     s=RegReadValue(sP & sV1)
  35.     Call SetUIElement(1,s)
  36.  
  37.     s=RegReadValue(sP & sV2)
  38.     Call SetUIElement(2,s)
  39.  
  40.     s=RegReadValue(sP & sV3)
  41.     Call SetUIElement(3,s)
  42.  
  43.     s=RegReadValue(sP & sV4)
  44.     Call SetUIElement(4,s)
  45.  
  46.     s=RegReadValue(sP2 & sV5)
  47.     Call SetUIElement(5,s)
  48.  else
  49.     Call SetUIElement(1,"N/A")
  50.     Call SetUIElement(2,"N/A")
  51.     Call SetUIElement(3,"N/A")
  52.     Call SetUIElement(4,"N/A")
  53.     Call SetUIElement(5,"N/A")
  54.  end if
  55.  
  56.  
  57.  Call Disable 'user can't change anything!
  58. End Sub
  59.  
  60. Sub Plugin_CheckData(ElementIndex)
  61. End Sub
  62.  
  63. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  64. End Sub
  65.  
  66. Sub Plugin_Terminate 
  67. End Sub
  68.